package com.guessdroid.sensing;

import java.util.ArrayList;


public class AS_wifiStationAmount extends AbstractSensor implements java.io.Serializable
{
	private static final long serialVersionUID = -3684042297107400789L;
	public final String name="Wifi stations";

	public ArrayList<Float> process(RawData rawdata, int interval)
	{
		ArrayList<Float> ret=new ArrayList<Float>();
		int i=0;
		while (i<rawdata.auStamps.get(rawdata.auStamps.size()-1)) // last au stamp as last stamp taken
		{
		    ret.add((float)rawdata.wifiData.size());
		    i+=interval;
		}
		return ret;
	}

}
